body {
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    font-size: 14px;
    font-family: -apple-system,Helvetica,sans-serif;
    color: #666;
    line-height: 1.5;
    /* background-color: #ccc; */
    /* height: 2000px; */
}
* {
    /* 清除点击后的高亮,设置为transparent 完成透明 */
    -webkit-tap-highlight-color: transparent;
}
input {
    /* 在移动端浏览器默认的外观，在ios上加上这个属性，才能给按钮和输入框自定义样式 */
    -webkit-appearance: none;
}
a,
input,
img {
     /* 禁用长安页面时的弹出菜单 */
     -webkit-touch-callout: none;
}
a {
    color: #666;
    text-decoration: none;
}
img {
    vertical-align: middle;
}
/* 顶部 */
.app ul {
    margin: 0;
    padding: 0;
}
.app {
    height: 45px;
}
.app ul li {
    float: left;
    height: 45px;
    background-color: #333;
    list-style: none;
    text-align: center;
    line-height: 45px;
    color: #fff;
}
.app ul li a {
    text-decoration: none;
    color: #fff;
}
.app ul li:nth-child(1) {
    width: 8%;
}
.app ul li:nth-child(1) img {
    width: 10px;
}
.app ul li:nth-child(2) {
    width: 10%;
}
.app ul li:nth-child(2) img {
    width: 30px;
    /* 图片跟文字垂直居中对齐 */
    vertical-align: middle;
}
.app ul li:nth-child(3) {
    width: 57%;
}
.app ul li:nth-child(4) {
    width: 25%;
    background-color: #F63515;
}
/* 搜索 */
.search-wrap {
    /* 这里用固定定位 */
    position: fixed;
    height: 44px;
    overflow: hidden;
    width: 100%;
    min-width: 320px;
    max-width: 640px;
}
.search-btn {
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: pink; */
    width: 40px;
    height: 44px;
}
.search-btn::before {
    content: "";
    display: block;
    width: 20px;
    height: 18px;
    background: url(../images/s-btn.png) no-repeat;
    background-size: 20px 18px;
    margin: 14px 0 0 15px;
}
.search-login {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 44px;
    /* background-color: purple; */
    color: #fff;
    line-height: 44px;
    text-align: center;
}
.search {
    position: relative;
    height: 30px;
    margin: 7px 50px 0;
    border-radius: 15px;
    background-color: #fff;
}
.jd-icon {
    width: 20px;
    height: 15px;
    position: absolute;
    top: 8px;
    left: 13px;
    /* background-color: pink; */
    background: url(../images/jd.png) no-repeat;
    background-size: 20px 15px;
}
.jd-icon::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 0;
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ccc;
}
.sou {
    position: absolute;
    top: 8px;
    left: 50px;
    width: 18px;
    height: 15px;
    /* background-color: pink; */
    background: url(../images/jd-sprites.png) no-repeat -81px 0;
    background-size: 200px auto;
    
}
.slider img {
    width: 100%;
}
/* 品牌日 */
.brand {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.brand div {
    float: left;
    width: 33.333%;
}
.brand div img {
    width: 100%;
}
/* nav 导航栏部分 */
nav {
    /* display: inline-block; */
    padding-top: 10px;
}
nav a {
    float: left;
    width: 20%;
    text-align: center;
}
nav a img {
    width: 40px;
    margin: 10px 0;
}
nav a span {
    display: block;
}
/* 新闻news模块  */
.news {
    margin-top: 180px;
}
.news a {
    float: left;
    box-sizing: border-box;
}
.news img {
    width: 100%;
}
.news a:nth-child(1) {
    width: 50%;
}
.news a:nth-child(n+2) {
    width: 25%;
    border-left: 1px solid #ccc;
    
}
/* 精选推荐模块 */
.recom {
    padding-bottom: 70px;
}
.recom p {
    margin-top: 10px;
    width: 100%;
}
.recom p img {
    width: 100%;
}
.recom a {
    float: left;
    width: 25%;
   
}
.recom a img {
    width: 100%;
}
/* footer底部模块 */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    text-align: center;
    line-height: 50px;
    box-shadow: 0 0 10px 0;
}
footer a {
    
    width: 20%;
    float: left;
}
footer a img {
    width: 100%;
}
